<?php
/**
 * Created by PhpStorm.
 * User: ysfl
 * Date: 2015/11/29
 * Time: 20:54
 * 流水视图
 */

namespace app\admin\views;

class WastebookView extends AdminView
{
    //主页
    function index($data)
    {
        //使用app/templates/waste_book/waste_book.tpl.php视图
        $this->renderTpl('wastebook/wastebook', $data);
    }

    //添加流水账
    function  addWastebook($data)
    {
        //使用app/templates/waste_book/add_waste_book.tpl.php视图
        $this->renderTpl('wastebook/add_wastebook', $data);
    }

    //未入账列表
    function  queryWastebook($data)
    {
        //使用app/templates/waste_book/query_waste_book.tpl.php视图
        $this->renderTpl('wastebook/query_wastebook', $data);
    }

    //已入账列表
    function  Wastebook_List($data)
    {
        $this->renderTpl('wastebook/wastebook_list',$data);
    }

    //支出页面
    function Expenditure($data)
    {
        $this->renderTpl('wastebook/expenditure',$data);
    }
}